import 'package:flutter/material.dart';
import 'package:selfapp/widgets/EducationPage.dart';
import 'package:selfapp/widgets/TechnologyPage.dart';
import 'package:selfapp/widgets/WorkPage.dart';

import 'widgets/HomePage.dart';
import 'widgets/menu_page.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget{
  @override
  Widget build(BuildContext context) {
      return MaterialApp(
          title: '个人app',
          theme: ThemeData(
            primarySwatch: Colors.lightGreen,
          ),
          routes: {
//            '/aboutme':(context)=>new AboutMePage(),
            '/education':(context)=>new EducationPage(),
            '/work':(context)=>new WorkPage(),
            '/technology':(context) => new TechnologyPage(),
          },
          home: HomePage(),
      );
  }


}


